package top.infopub.mgr.mkt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.mkt.dao.DeciProCoopDao;
import top.infopub.model.mkt.DeciProCoop;
import top.infopub.mgr.mkt.service.DeciProCoopService;
import top.infopub.mgr.mkt.vo.DeciProCoopVo;

@Service
public class DeciProCoopServiceImpl extends GenericServiceImpl<DeciProCoop, String> implements
		DeciProCoopService {

	@Autowired
	private DeciProCoopDao deciProCoopDao;
	
	@Override
	public GenericDao<DeciProCoop, String> getDao() {
		return deciProCoopDao;
	}

    @Override
    public List<DeciProCoopVo> selectByDeciProId(String deciProId) {
        return deciProCoopDao.selectByDeciProId(deciProId);
    }

}